/*************************************************************************
	> File Name: main.cc
	> Author: Joker
	> Mail: mahongtao@foxmail.com 
	> Created Time: 2020-09-21 22:15:41
 ************************************************************************/

#include "Adapter.h"

#include <iostream>
using namespace std;

void test0(){
    Adaptee * pAdaptee = new Adaptee();
    Target * pTarget = new Adapter(pAdaptee);
    pTarget->Request();

    delete  pTarget;
}

int main(int argc,char *argv[])
{
    test0();
    return 0;
}
